<?php
/**
 * Created by PhpStorm.
 * User: s.utkin
 * Date: 19.03.2015
 * Time: 12:50
 */

namespace Forms\Filter;


use Pinenut\Form\Filter;

class ReferenceManyWithParamsAction extends Filter {
	public function run()
	{
		$requestJSON = json_decode($this->request->value);
		$result = [];

		foreach ($requestJSON as $item) {
			$result[] = (array)$item;
		}

		return $result;
	}
} 